package com.nf.recruitment.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wangl
 * @date 2018/9/18
 */
@Controller
@Slf4j
public class PageController {

    /**
     * 跳转模板页面
     * @param page
     * @return
     */
    @GetMapping("**/{page}.html")
    public String forward(@PathVariable("page") String page){
        log.info("Path: " + page);
        return page;
    }

}
